package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: ruohao
 * @Date: 2023/8/31
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Contract extends BaseEntity {
    private Long id;
    @Excel(name = "合同名称", cellType = Excel.ColumnType.STRING)
    private String name;
    @Excel(name = "合同编号", cellType = Excel.ColumnType.STRING)
    private String contractId;
    @Excel(name = "公司名称", cellType = Excel.ColumnType.STRING)
    private String company;
    @Excel(name = "签约时间", cellType = Excel.ColumnType.STRING)
    private Date signTime;
    @Excel(name = "结束时间", cellType = Excel.ColumnType.STRING)
    private Date endTime;
    @Excel(name = "合同金额", cellType = Excel.ColumnType.STRING)
    private BigDecimal amount;
    private String leader;
    private String contact;
    @Excel(name = "合同摘要", cellType = Excel.ColumnType.STRING)
    private String abst;
    @Excel(name = "工期", cellType = Excel.ColumnType.STRING)
    private String duration;
    @Excel(name = "状态", cellType = Excel.ColumnType.STRING)
    private String status;
    private Long dept;
    private Long creator;
    private String imageUrl;
    private String fileUrl;
}
